package edu.umd.fosite.graphics;

import javax.media.opengl.GL2;

public class GLDisplayListDrawer implements Drawer<GL2> {
	
	private int list;
	private GL2 gl;
	
	public GLDisplayListDrawer(GL2 gl, int list) {
		this.list = list;
		this.gl = gl;
	}

	@Override
	public void draw() {
		gl.glCallList(list);
	}

}
